package com.industrial.governance.mapper;

import java.util.List;
import com.industrial.governance.domain.DgQualityRuleManagement;

/**
 * 质量规则管理Mapper接口
 *
 * @author SangGuangCan
 * @date 2024-03-01
 */
public interface DgQualityRuleManagementMapper
{
    /**
     * 查询质量规则管理
     *
     * @param baseId 质量规则管理主键
     * @return 质量规则管理
     */
    public DgQualityRuleManagement selectDgQualityRuleManagementByBaseId(String baseId);

    /**
     * 查询质量规则管理列表
     *
     * @param dgQualityRuleManagement 质量规则管理
     * @return 质量规则管理集合
     */
    public List<DgQualityRuleManagement> selectDgQualityRuleManagementList(DgQualityRuleManagement dgQualityRuleManagement);

    /**
     * 新增质量规则管理
     *
     * @param dgQualityRuleManagement 质量规则管理
     * @return 结果
     */
    public int insertDgQualityRuleManagement(DgQualityRuleManagement dgQualityRuleManagement);

    /**
     * 修改质量规则管理
     *
     * @param dgQualityRuleManagement 质量规则管理
     * @return 结果
     */
    public int updateDgQualityRuleManagement(DgQualityRuleManagement dgQualityRuleManagement);

    /**
     * 删除质量规则管理
     *
     * @param baseId 质量规则管理主键
     * @return 结果
     */
    public int deleteDgQualityRuleManagementByBaseId(String baseId);

    /**
     * 批量删除质量规则管理
     *
     * @param baseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDgQualityRuleManagementByBaseIds(String[] baseIds);
}
